/**
 * 
 */
package com.maohi.software.tupuna.modules;

import com.google.inject.AbstractModule;
import com.google.inject.Singleton;
import com.maohi.software.tupuna.implementations.DefaultTupunaController;
import com.maohi.software.tupuna.implementations.DefaultTupunaModel;
import com.maohi.software.tupuna.implementations.DefaultTupunaUI;
import com.maohi.software.tupuna.interfaces.TupunaController;
import com.maohi.software.tupuna.interfaces.TupunaModel;
import com.maohi.software.tupuna.interfaces.TupunaUI;

/**
 * @author heifara
 * 
 */
public class TupunaModule extends AbstractModule {

	@Override
	protected void configure() {
		this.bind(TupunaController.class).to(DefaultTupunaController.class).in(Singleton.class);
		this.bind(TupunaModel.class).to(DefaultTupunaModel.class).in(Singleton.class);
		this.bind(TupunaUI.class).to(DefaultTupunaUI.class).in(Singleton.class);
	}
}
